#ifndef SM4_H
#define SM4_H

#include <stddef.h>
#include <openssl/evp.h>

int sm4_encrypt(const unsigned char *plaintext, int plaintext_len, const unsigned char *key, unsigned char *ciphertext);
int sm4_decrypt(const unsigned char *ciphertext, int ciphertext_len, const unsigned char *key, unsigned char *plaintext);

#endif // SM4_H
